package b4.config
{
	public class EquipConfig extends BasicObjConfig
	{
		public static const OCCUPATION_NAMES:Array = ["战士", "刺客", "法师", "巫医"];
		public static const QUALITY_NAMES:Array = ["凡品", "玄铁", "灵器", "宝器", "仙器", "神器"];
		public static const QUALITY_COLOR_NAMES:Array = ["白", "绿", "蓝", "黄", "紫", "流紫"];
		public static const WHRITE_INDEX:int = QUALITY_COLOR_NAMES.indexOf("白");
		public static const EQUIP_PROPERTY_NAMES:Array = ["生命", "法力", "攻击", "防御", "暴击", "坚韧", "敏捷", "闪避", "士气"];
		
		public var occupation:int;
		public var quality:int;
		
		public function EquipConfig(itemStrs:Array)
		{
			super(itemStrs);
			this.occupation = OCCUPATION_NAMES.indexOf(itemStrs[4]);
			this.quality = QUALITY_COLOR_NAMES.indexOf(itemStrs[5]);
		}
		
	}
}